import request from '@/utils/request'

// 查询用户订单评论列表
export function listUserOrderComment(query) {
  return request({
    url: '/system/userOrderComment/list',
    method: 'get',
    params: query
  })
}

// 查询用户订单评论详细
export function getUserOrderComment(id) {
  return request({
    url: '/system/userOrderComment/' + id,
    method: 'get'
  })
}

// 新增用户订单评论
export function addUserOrderComment(data) {
  return request({
    url: '/system/userOrderComment',
    method: 'post',
    data: data
  })
}

// 修改用户订单评论
export function updateUserOrderComment(data) {
  return request({
    url: '/system/userOrderComment',
    method: 'put',
    data: data
  })
}

// 删除用户订单评论
export function delUserOrderComment(id) {
  return request({
    url: '/system/userOrderComment/' + id,
    method: 'delete'
  })
}

// 导出用户订单评论
export function exportUserOrderComment(query) {
  return request({
    url: '/system/userOrderComment/export',
    method: 'get',
    params: query
  })
}